package com.zzh.partnersys.im.message.request;

import com.zzh.partnersys.im.message.Message;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author �?�?�?
 * @version 1.0
 * 专门存放处理群聊消息�?
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TeamChatRequestMessage  extends Message {
    private Long fromUid;//谁发消息
    private Long teamId;//发给哪个群的
    private String content;//内容是什�?

    public TeamChatRequestMessage() {
    }

    public TeamChatRequestMessage(Long fromUid,Long teamId,String content) {
        this.fromUid = fromUid;
        this.teamId = teamId;
        this.content = content;
        this.setMessageType(TeamChatRequestMessage);
    }


    @Override
    public int getMessageType() {
        return TeamChatRequestMessage;
    }

    @Override
    public void setMessageType(int messageType) {
        super.setMessageType(messageType);
    }
}
